﻿#region Imports

using System.Collections.Generic;

#endregion

namespace d3PrtDgn.Core.BaseData
{
	/// <summary>
    /// IBaseDao access object interface
	/// </summary>
    public interface IBaseDao
    {
		/// <summary>
		/// Saves or updates album
		/// </summary>
		/// <param name="album"></param>
		/// <returns></returns>
        BaseEntity SaveOrUpdate(BaseEntity album);

		/// <summary>
		/// Deletes album
		/// </summary>
		/// <param name="album">Album to delete</param>
        void Delete(BaseEntity album);

    }
}
